/* Copyright (c) 2015 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

//
//  GTLPredictionOutput.m
//

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
//   Prediction API (prediction/v1.6)
// Description:
//   Lets you access a cloud hosted machine learning service that makes it easy
//   to build smart apps
// Documentation:
//   https://developers.google.com/prediction/docs/developer-guide
// Classes:
//   GTLPredictionOutput (0 custom class methods, 6 custom properties)
//   GTLPredictionOutputOutputMultiItem (0 custom class methods, 2 custom properties)

#import "GTLPredictionOutput.h"

// ----------------------------------------------------------------------------
//
//   GTLPredictionOutput
//

@implementation GTLPredictionOutput
@dynamic identifier, kind, outputLabel, outputMulti, outputValue, selfLink;

+ (NSDictionary *)propertyToJSONKeyMap {
  NSDictionary *map = @{
    @"identifier" : @"id"
  };
  return map;
}

+ (NSDictionary *)arrayPropertyToClassMap {
  NSDictionary *map = @{
    @"outputMulti" : [GTLPredictionOutputOutputMultiItem class]
  };
  return map;
}

+ (void)load {
  [self registerObjectClassForKind:@"prediction#output"];
}

@end


// ----------------------------------------------------------------------------
//
//   GTLPredictionOutputOutputMultiItem
//

@implementation GTLPredictionOutputOutputMultiItem
@dynamic label, score;
@end
